import random
def suijiyouxi1():
    c,c1,c2,c3=0,50,50,100
    while True:
        a=input("")
        if a==" ":
            b=random.randint(c2,c3)
        elif a=="esc":
            break
        else:
            b=random.randint(c,c1)
        print(b)
def suijiyouxi2():
    c=0
    def x(a1,a2,a3):
        if a3==1:
            print(f"让{a1}打{a2}")
        if a3==2:
            print(f"让{a2}打{a1}")
    a=input("姓名?")
    b=input("姓名2?")
    if a=="好好" or a=="浩浩" or a=="昊昊" or a=="豪豪" or a=="皓皓" or a=="颢颢":
        c=1
    if b=="好好" or b=="浩浩" or b=="昊昊" or b=="豪豪" or b=="皓皓" or b=="颢颢":
        c=2
    while True:
        if c==1:
            x(a,b,2)
        elif c==2:
            x(a,b,1)
        else:
            if len(a)==3:
                x(a,b,1)
            elif len(b)==3:
                x(a,b,2)
            else:
                d=random.randint(0,1)
                if d==1:
                    x(a,b,1)
                else:
                    x(a,b,2)
        e=int(input(""))
        if e==1:
            break
#suijiyouxi1()
suijiyouxi2()